﻿using System.Drawing;
using System.Windows.Forms;

namespace GDM.Hogar.Controles.ControlesPersonalizados
{
    public partial class StyledTextBox : TextBox
    {
        public StyledTextBox()
        {
            InitializeComponent();
        }

        public override bool AutoSize
        {
            get
            {
                return true;
            }
            set
            {
                base.AutoSize = value;
            }
        }

        public override Font Font
        {
            get
            {
                return new Font("Lucida Sans", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
            }
            set
            {
                base.Font = value;
            }
        }

        public override Color ForeColor
        {
            get
            {
                return Color.Black;
            }
            set
            {
                base.ForeColor = value;
            }
        }
    }
}